package adapter;

import connector.Connector;
import server.Request;
import server.Response;

/**
 * @ClassName : Adapter
 * @Description : Adapter将请求适配到Container(Servlet容器)进行具体的处理
 * @Author : zhangxiaohai
 * @Date: 2021-06-24 08:15
 */
public interface Adapter {
    Connector getConnector();

    void setConnector(Connector connector);

    void service(Request request, Response response) throws Exception;
}
